﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="Sinacor.OMM.Deployment.Setup.Instalacao"
	x:Name="Window"
	Title="Instalação dos componentes OMM - Order Message Manager"
	Width="800" Height="600" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	mc:Ignorable="d" 
	Background="#FF313131" Closing="Window_Closing" Loaded="Window_Loaded">
	<Window.Resources>
		<Storyboard x:Key="Loader01" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader01" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
								 	  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader01" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader01" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Loader02" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader02" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader02" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader02" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Loader03" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader03" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader03" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader03" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Loader04" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader04" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader04" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader04" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Loader05" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader05" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader05" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader05" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Loader06" 
					RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader06" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
										   Storyboard.TargetName="loader06" 
										   Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" 
									  Value="-5.172"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" 
										  Storyboard.TargetName="loader06" 
										  Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" 
									 Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader01}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader02}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader03}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader04}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader05}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Loader06}"/>
		</EventTrigger>
	</Window.Triggers>
	<Grid x:Name="LayoutRoot">
		<Grid.Background>
			<ImageBrush ImageSource=".\images\setupTelas.png" 
						Opacity="1"/>
		</Grid.Background>
		<Grid Margin="221,14,0,0" 
			  VerticalAlignment="Top" 
			  Width="348" 
			  Height="82" 
			  HorizontalAlignment="Left">
			<Grid.Background >
				<ImageBrush ImageSource=".\images\LogoSinacor.png" 
							Opacity="1" 
							Stretch="UniformToFill"/>
			</Grid.Background>
		</Grid>
		<Label HorizontalAlignment="Left" 
			   VerticalAlignment="Top" 
			   Content="Instalação dos Componentes" 
			   FontSize="24" 
			   FontWeight="Bold" 
			   Background="#00336699" 
			   Foreground="#FF336699" 
			   Margin="42.5,158,0,0"/>
		<TextBlock HorizontalAlignment="Left" 
				   Margin="48,211,0,0" 
				   VerticalAlignment="Top" 
				   Height="37" 
				   TextWrapping="Wrap" Text="Selecione o(s) Componente(s) que deseja instalar no sistema."/>
		<GroupBox VerticalAlignment="Top" 
				  Header="Componentes" 
				  Height="193.5" 
				  Margin="48,253,241.5,0" 
				  Background="#59FFFFFF" 
				  Opacity="1" 
				  BorderThickness="1,1,1,1" 
				  BorderBrush="#FF336699">
			<Grid>
				<Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Receptor" 
					   Margin="8,8,0,0" 
					   Width="99.073" 
					   HorizontalContentAlignment="Right" FontWeight="Bold"/>
				<Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Roteador" 
					   Margin="8,35,0,0"
					   Width="99.021" 
					   HorizontalContentAlignment="Right" 
					   FontWeight="Bold"/>
				<Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Dumper" 
					   Margin="8,62.277,0,0"
					   Width="99.021" 
					   HorizontalContentAlignment="Right" 
					   FontWeight="Bold"/>
				<Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Processo HFT" 
					   Margin="8,89.554,0,0"
					   Width="99.021" 
					   HorizontalContentAlignment="Right" 
					   FontWeight="Bold"/>
				<Label HorizontalAlignment="Left" 
					   Content="Order Executor" 
					   Margin="8,116.831,0,0"
					   Width="99.021" 
					   HorizontalContentAlignment="Right" 
					   FontWeight="Bold" 
					   VerticalAlignment="Top"/>
				<Label HorizontalAlignment="Left" 
					   Content="Health Monitor" 
					   Margin="8,144.108,0,0"
					   Width="99.021" 
					   HorizontalContentAlignment="Right" 
					   FontWeight="Bold" 
					   VerticalAlignment="Top"/>
				<Path HorizontalAlignment="Left" 
					  Margin="110,7,0,0" 
					  Width="1" 
					  Fill="#FFFFFFFF" 
					  Stretch="Fill" 
					  Stroke="#FFFFFFFF" 
					  Data="M170,6.7233333 L170,122.79228" 
					  VerticalAlignment="Top" Height="164.885"/>
				<Path HorizontalAlignment="Left" 
					  Margin="111,8,0,0" 
					  Width="1" 
					  Fill="#FFFFFFFF" 
					  Stretch="Fill" 
					  Stroke="#FFB9B5B5" 
					  Data="M170,6.7233333 L170,122.79228" 
					  VerticalAlignment="Top" Height="163.885"/>
				<Button HorizontalAlignment="Left" 
					Content="Instalar" 
					Margin="116,10,0,0" 
					VerticalAlignment="Top" 
					Width="62" 
					Background="#FF2B4D83" 
					Foreground="#FFFFFFFF" 
					x:Name="btnInstallReceptor" Click="btnInstallReceptor_Click" />
				<Button Content="Desinstalar" 
					Margin="184,10,244.5,0" 
					VerticalAlignment="Top" 
					Background="#FF2B4D83" 
					x:Name="btnUninstallReceptor"
					Foreground="#FFFFFFFF" Click="btnUninstallReceptor_Click" />
				<Ellipse HorizontalAlignment="Left" 
						 Margin="259,18,0,0" 
						 Width="4.554" 
						 Fill="#FF336699" 
						 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 x:Name="loader01" 
						 RenderTransformOrigin="0.5,0.5" 
						 VerticalAlignment="Top" 
						 Height="4.554" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
											    Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					StrokeStartLineCap="Square"
					StrokeEndLineCap="Square"
					StrokeMiterLimit="2.75"
					Stroke="#FF567661"
					Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					HorizontalAlignment="Left"
					Margin="256,15,0,0"
					Width="11"
					x:Name="LedReceptorOK" 
					Height="11" 
					VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
										  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
										  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,15,0,0"
					  x:Name="LedReceptorNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Instalando o Componente..." 
					   Margin="276,8,0,0" 
					   Foreground="#FF666666" 
					   x:Name="LblInstalandoReceptor" Visibility="Hidden"/>
                <Label HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Content="Desinstalando o Componente..." 
					   Margin="276,8,0,0" 
					   Foreground="#FF666666" 
					   x:Name="LblDesinstalandoReceptor" Visibility="Hidden"/>
				<Label Content="Não foi possível instalar o Componente." 
					   Margin="276,8,0,0" 
					   Foreground="#FFD13E3E" 					    
					   HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Width="207.25" 
					   x:Name="LblErroReceptor" Visibility="Hidden"/>
                <Label Content="Não foi possível desinstalar o Componente." 
					   Margin="276,8,0,0" 
					   Foreground="#FFD13E3E" 					    
					   HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Width="207.25" 
					   x:Name="LblErroUninstallReceptor" Visibility="Hidden"/>
                <Label Content="Sistema STM não instalado!" 
					   Margin="276,8,0,0" 
					   Foreground="#FFD13E3E" 					    
					   HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Width="207.25" 
					   x:Name="LblErroSTMReceptor" Visibility="Hidden"/>
				<Label Content="Componente instalado com sucesso." 
					   Margin="276,8,0,0" 
					   Foreground="#FF1E8D12" 
					   HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Width="206.5" 
					   x:Name="LblReceptorSucesso" Visibility="Hidden"/>
                <Label Content="Componente desinstalado com sucesso." 
					   Margin="276,8,0,0" 
					   Foreground="#FF1E8D12" 
					   HorizontalAlignment="Left" 
					   VerticalAlignment="Top" 
					   Width="206.5" 
					   x:Name="LblReceptorUninstallSucesso" Visibility="Hidden"/>
				<Button HorizontalAlignment="Left" 
					Content="Instalar" 
					Margin="116,37,0,0" 
					VerticalAlignment="Top" 
					Width="62" 
					x:Name="btnInstallRouter"
					Background="#FF2B4D83" 
					Foreground="#FFFFFFFF" Click="btnInstallRouter_Click" />
				<Button Content="Desinstalar" 
					Margin="184,37,244.5,0" 
					VerticalAlignment="Top" 
					Background="#FF2B4D83"
					x:Name="btnUninstallRouter"
					Foreground="#FFFFFFFF" Click="btnUninstallRouter_Click" />
				<Ellipse RenderTransformOrigin="0.5,0.5" 
						 Margin="259.197,44.724,0,0" 
						 x:Name="loader02" 
						 Fill="#FF336699" 
	 					 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 VerticalAlignment="Top" 
						 Height="4.554" 
						 HorizontalAlignment="Left" 
						 Width="4.554" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
												Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					StrokeStartLineCap="Square"
					StrokeEndLineCap="Square"
					StrokeMiterLimit="2.75"
					Stroke="#FF567661"
					Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					HorizontalAlignment="Left"
					Margin="256,42.5,0,0"
					Width="11"
					x:Name="LedRoteadorOK" 
					Height="11" 
					VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
										  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
										  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,42.5,0,0"
					  x:Name="LedRoteadorNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Label 	VerticalAlignment="Top" 
						Content="Instalando o Componente..." 
						Margin="276,35,0,0" 
						Foreground="#FF666666" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorInstalando" Visibility="Hidden"/>
                <Label 	VerticalAlignment="Top" 
						Content="Desinstalando o Componente..." 
						Margin="276,35,0,0" 
						Foreground="#FF666666" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorDesinstalando" Visibility="Hidden"/>
				<Label 	Content="Não foi possível instalar o Componente." 
						Margin="276,35,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorErro"/>
				<Label  Content="Componente instalado com sucesso." 
						Margin="276,35,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorSucesso" Visibility="Hidden"/>
                <Label 	Content="Não foi possível desinstalar o Componente." 
						Margin="276,35,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorUnistallErro"/>
                <Label  Content="Componente desinstalado com sucesso." 
						Margin="276,35,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblRoteadorUninstallSucesso" Visibility="Hidden"/>
				<Button HorizontalAlignment="Left" 
					    Content="Instalar" 
						Margin="116,64.277,0,0" 
						Width="62"
						x:Name="btnInstallDumper"
						Background="#FF2B4D83" 
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnInstallDumper_Click" />
				<Button Content="Desinstalar" 
						Margin="184,64.277,244.5,0" 
						Background="#FF2B4D83" 
						x:Name="btnUninstallDumper"
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnUninstallDumper_Click" />
				<Ellipse RenderTransformOrigin="0.5,0.5" 
						 Margin="259.197,72.724,0,0" 
						 x:Name="loader03" 
						 Fill="#FF336699" 
						 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 HorizontalAlignment="Left" 
						 Width="4.554" 
						 VerticalAlignment="Top" 
						 Height="4.554" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
												Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  HorizontalAlignment="Left"
					  Margin="256,69.5,0,0"
					  Width="11"
					  x:Name="LedDumperOK" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
										  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
										  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,69.5,0,0"
					  x:Name="LedDumperNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Label 	Content="Instalando o Componente..." 
						Margin="276,62.277,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperInstalando" Visibility="Hidden"/>
                <Label 	Content="Desinstalando o Componente..." 
						Margin="276,62.277,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperDesinstalando" Visibility="Hidden"/>
				<Label 
						Content="Não foi possível instalar o Componente." 
						Margin="276,62.277,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperErro"/>
				<Label  Content="Componente instalado com sucesso." 
						Margin="276,62.277,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperSucesso" Visibility="Hidden"/>
                <Label 
						Content="Não foi possível desinstalar o Componente." 
						Margin="276,62.277,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperUninstallErro"/>
                <Label  Content="Componente desinstalado com sucesso." 
						Margin="276,62.277,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblDumperUninstallSucesso" Visibility="Hidden"/>
                <Button HorizontalAlignment="Left" 
						Content="Instalar" 
						Margin="116,91.555,0,0" 
						Width="62"
						x:Name="btnInstallHFTProcess"
						Background="#FF2B4D83" 
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnInstallHFTProcess_Click" />
				<Button Content="Desinstalar" 
						Margin="184,91.555,244.5,0" 
						Background="#FF2B4D83"
						x:Name="btnUninstallHFTProcess"
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnUninstallHFTProcess_Click" />
				<Ellipse RenderTransformOrigin="0.5,0.5" 
						 Margin="259.197,99.724,0,0" 
						 x:Name="loader04" 
						 Fill="#FF336699" 
						 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 HorizontalAlignment="Left" 
						 Width="4.554" 
						 Height="4.554" 
						 VerticalAlignment="Top" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
												Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  HorizontalAlignment="Left"
					  Margin="256,96.5,0,0"
					  Width="11"
					  x:Name="LedHFTOK" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
										  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
									  	  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,96.5,0,0"
					  x:Name="LedHFTNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>	
				</Path>
				<Label 	Content="Instalando o Componente..." 
						Margin="276,89.556,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTInstalando" Visibility="Hidden"/>
				<Label  Content="Não foi possível instalar o Componente." 
						Margin="276,89.556,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTErro"/>
				<Label  Content="Componente instalado com sucesso." 
						Margin="276,89.556,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTSucesso" Visibility="Hidden"/>
                <Label 	Content="Desinstalando o Componente..." 
						Margin="276,89.556,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTDesinstalando" Visibility="Hidden"/>
                <Label  Content="Não foi possível desinstalar o Componente." 
						Margin="276,89.556,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTUninstallErro"/>
                <Label  Content="Componente desinstalado com sucesso." 
						Margin="276,89.556,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblHFTUninstallSucesso" Visibility="Hidden"/>
                <Button HorizontalAlignment="Left" 
						Content="Instalar" 
						Margin="116,119,0,0" 
						Width="62" 
						x:Name="btnInstallOrderExecutor"
						Background="#FF2B4D83" 
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnInstallOrderExecutor_Click" />
				<Button Content="Desinstalar" 
						Margin="184,119,244.5,0" 
						Background="#FF2B4D83"
						x:Name="btnUninstallOrderExecutor"
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnUninstallOrderExecutor_Click" />
				<Ellipse RenderTransformOrigin="0.5,0.5" 
						 Margin="259.197,126.724,0,0" 
						 x:Name="loader05" 
						 Fill="#FF336699" 
						 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 HorizontalAlignment="Left" 
						 Width="4.554" 
						 VerticalAlignment="Top" 
						 Height="4.554" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
												Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  HorizontalAlignment="Left"
					  Margin="256,123.25,0,0"
					  Width="11"
					  x:Name="LedOrderExecutorOK" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
									  	  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
										  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,123.25,0,0"
					  x:Name="LedOrderExecutorNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  Height="11" 
					  VerticalAlignment="Top" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Label 	Content="Instalando o Componente..." 
						Margin="276,117.001,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorInstalando" Visibility="Hidden"/>
				<Label 	Content="Não foi possível instalar o Componente." 
						Margin="276,117.001,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorErro"/>
				<Label  Content="Componente instalado com sucesso." 
						Margin="276,117.001,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorSucesso" Visibility="Hidden"/>
                <Label 	Content="Desinstalando o Componente..." 
						Margin="276,117.001,0,0" 
						Foreground="#FF666666" 
						VerticalAlignment="Top" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorDesinstalando" Visibility="Hidden"/>
                <Label 	Content="Não foi possível desinstalar o Componente." 
						Margin="276,117.001,0,0" 
						Foreground="#FFD13E3E" 
						Visibility="Hidden" 
						VerticalAlignment="Top" 
						Width="207.25" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorUninstallErro"/>
                <Label  Content="Componente desinstalado com sucesso." 
						Margin="276,117.001,0,0" 
						Foreground="#FF1E8D12" 
						VerticalAlignment="Top" 
						Width="206.5" 
						HorizontalAlignment="Left" 
						x:Name="LblOrderExecutorUninstallSucesso" Visibility="Hidden"/>
                <Button HorizontalAlignment="Left" 
						Content="Instalar" 
						Margin="116,146.108,0,0" 
						Width="62"
						x:Name="btnInstallHealthMonitor"
						Background="#FF2B4D83" 
						Foreground="#FFFFFFFF" 
						VerticalAlignment="Top" Click="btnInstallHealthMonitor_Click" />
				<Button Content="Desinstalar" 
						Margin="184,146.108,244.5,0" 
						Background="#FF2B4D83"
						Foreground="#FFFFFFFF"
						x:Name="btnUninstallHealthMonitor"
						VerticalAlignment="Top" Click="btnUninstallHealthMonitor_Click" />
				<Ellipse RenderTransformOrigin="0.5,0.5" 
						 Margin="259.197,154.224,0,0" 
						 x:Name="loader06" 
						 Fill="#FF336699" 
						 Stroke="{x:Null}" 
						 StrokeThickness="3" 
						 HorizontalAlignment="Left" 
						 Width="4.554" 
						 VerticalAlignment="Top" 
						 Height="4.554" Visibility="Hidden">
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" 
											ScaleY="-1"/>
							<SkewTransform AngleX="0" 
										   AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" 
												Y="0"/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  HorizontalAlignment="Left"
					  Margin="256,151,0,0"
					  Width="11"
					  x:Name="LedHealthMonitorOK" 
					  VerticalAlignment="Top" 
					  Height="11" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FFE3F237"
										  Offset="0"/>
							<GradientStop Color="#FF9AD23C"
										  Offset="0.269767"/>
							<GradientStop Color="#FF52B342"
										  Offset="0.488372"/>
							<GradientStop Color="#FF6FC175"
										  Offset="0.832558"/>
							<GradientStop Color="#FF8DCFA9"
										  Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill"
					  StrokeStartLineCap="Square"
					  StrokeEndLineCap="Square"
					  StrokeMiterLimit="2.75"
					  Stroke="#FF567661"
					  Data="F1 M 164.292,93.3646C 167.053,93.3646 169.292,95.6032 169.292,98.3646C 169.292,101.126 167.053,103.365 164.292,103.365C 161.53,103.365 159.292,101.126 159.292,98.3646C 159.292,95.6032 161.53,93.3646 164.292,93.3646 Z "
					  Margin="256,151,0,0"
					  x:Name="LedHealthMonitorNOK"
					  Width="11"
					  HorizontalAlignment="Left" 
					  VerticalAlignment="Top" 
					  Height="11" Visibility="Hidden">
					<Path.Fill>
						<LinearGradientBrush StartPoint="0.525,0.9375"
											 EndPoint="0.525,0.0875">
							<GradientStop Color="#FF8E1111"
										  Offset="0"/>
							<GradientStop Color="#FFD23C3C"
										  Offset="0.465"/>
							<GradientStop Color="#FFEA6262"
										  Offset="0.845"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Label Content="Instalando o Componente..." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FF666666" 
					   VerticalAlignment="Top" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorInstalando" Visibility="Hidden"/>
				<Label Content="Não foi possível instalar o Componente." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FFD13E3E" 
					   Visibility="Hidden" 
					   VerticalAlignment="Top" 
					   Width="207.25" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorErro"/>
				<Label Content="Componente instalado com sucesso." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FF1E8D12" 
					   VerticalAlignment="Top" 
					   Width="206.5" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorSucesso" Visibility="Hidden"/>
                <Label Content="Desinstalando o Componente..." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FF666666" 
					   VerticalAlignment="Top" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorDesinstalando" Visibility="Hidden"/>
                <Label Content="Não foi possível desinstalar o Componente." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FFD13E3E" 
					   Visibility="Hidden" 
					   VerticalAlignment="Top" 
					   Width="207.25" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorUninstallErro"/>
                <Label Content="Componente desinstalado com sucesso." 
					   Margin="276,144.109,0,0" 
					   Foreground="#FF1E8D12" 
					   VerticalAlignment="Top" 
					   Width="206.5" 
					   HorizontalAlignment="Left" 
					   x:Name="LblHealthMonitorUninstallSucesso" Visibility="Hidden"/>
            </Grid>
		</GroupBox>
		<Grid Margin="567,253,0,126" 
			  Width="198" 
			  HorizontalAlignment="Left">
			<Grid.Background >
				<ImageBrush ImageSource=".\images\Instalacao.png" 
							Opacity="1" 
							Stretch="UniformToFill"/>
			</Grid.Background>
		</Grid>
		<Button HorizontalAlignment="Right" 
				Content="Sair" 
				Margin="0,0,48,18" 
				VerticalAlignment="Bottom" 
				Width="60" 
				Background="#FF2B4D83" 
				Foreground="#FFFFFFFF" Name="btnExit" Click="btnExit_Click" />
		<Button HorizontalAlignment="Right" 
				Margin="0,0,112.113,18" 
				VerticalAlignment="Bottom" 
				Content="Voltar" 
				Width="60" 
				Background="#FF2B4D83" 
				Foreground="#FFFFFFFF" Click="btnBack_Click" Name="btnBack" />
	</Grid>
</Window>